package com.stevenmoon.csdnplus.app;

/**
 * app用到的所有的常量
 * Created by WangJun on 2015/10/25.
 */
public class Constants {


    public static class CONFIG {
        public static final int DEFAULT_PAGE_SIZE = 20;
        public static final int DEFAULT_COMMENT_SIZE = 10;
        public static final String DIRECTION_UP = "up";
        public static final String DIRECTION_DOWN = "down";
    }

    public static class CSDNURL {
        public static final String ONLINE_MS_HOST = "http://ms.csdn.net/";
        public static final String LOGIN = ONLINE_MS_HOST + "v3/login";

        /*头条模块 */
        public static final String HEADLINE_COLUMNS = ONLINE_MS_HOST + "api/geek/all_community";
        public static final String LATEST_NEWS = ONLINE_MS_HOST + "api/v2/index/latest_news";
        public static final String COLUMNS_HEADLINE_LIST = ONLINE_MS_HOST + "api/geek/comms_with_id";
        public static final String HEADLINE_DETAIL = ONLINE_MS_HOST + "api/v2/geek/detail";
        public static final String COMMENTS_LIST = ONLINE_MS_HOST + "api/index/news_newest_comment";
        public static final String GEEK_UP_DOWN = ONLINE_MS_HOST + "api/index/geek_up_down";
        public static final String NEWS_UP_DOWN = ONLINE_MS_HOST + "api/index/news_up_down";
        public static final String CONTENT_CENTER_UP_DOWN = ONLINE_MS_HOST + "api/index/content_center_up_down";
        //相关话题信息
        public static final String COMMUNITY_DETAIL = ONLINE_MS_HOST + "api/geek/community_detail";
        public static final String API_HACKERNEWS = "http://geek.csdn.net/news/detail/";
        public static final String HEADLINE_COMMENT_UP = ONLINE_MS_HOST + "api/index/news_comment_up";
        public static final String HEADLINE_COMMENT_DOWN = ONLINE_MS_HOST + "api/index/news_comment_down";
        public static final String HEADLINE_COMMENT_ADD = ONLINE_MS_HOST + "api/index/news_add_comment";
        public static final String HEADLINE_COMMENT_REPLY = ONLINE_MS_HOST + "api/index/news_comment_reply";


        /*博客模块*/
        public static final String BLOG_RECOMMAND_LIST = ONLINE_MS_HOST + "api/blog/bole";
        public static final String BLOG_SUBSCRIBE_TAGS = ONLINE_MS_HOST + "api/blog/my_subscibe_tags";
        public static final String BLOG_SUBSCRIBE_LIST = ONLINE_MS_HOST + "api/blog/get_blog_list";
        public static final String BLOG_DETAIL = ONLINE_MS_HOST + "api/blog/get_blog_detail";
        public static final String BLOG_COMMENT_LIST = ONLINE_MS_HOST + "api/blog/all_comments";
        public static final String BLOG_UP_DOWN = ONLINE_MS_HOST + "api/blog/dig_bury";
        public static final String BLOG_COMMENT_ADD = ONLINE_MS_HOST + "api/blog/post_blog_comments";
        public static final String BLOG_FOCUS_EXPERTS = ONLINE_MS_HOST + "api/blog/my_focus_experts";
        public static final String BLOG_POST_RECENTLY = ONLINE_MS_HOST + "api/blog/post_recently";
        public static final String BLOG_EXPERT_INFO = ONLINE_MS_HOST + "api/blog/expert_info";
        public static final String BLOG_USER_ARTICLE_LIST = ONLINE_MS_HOST + "api/blog/user_blog_list";
        public static final String BLOG_CATEGORY_LIST = ONLINE_MS_HOST + "api/blog/categorylist";
        public static final String BLOG_ARTICLE_LIST = ONLINE_MS_HOST + "api/blog/articlelist";
        public static final String BLOG_COLUMN_LIST = ONLINE_MS_HOST + "api/blog/columnlist";
        public static final String BLOG_COLUMN_DETAIL = ONLINE_MS_HOST + "api/blog/columndetail";
        public static final String BLOG_COLUMN_ARTICLE_LIST = ONLINE_MS_HOST + "api/blog/columnarticles";
        public static final String BLOG_CATE_TOP_TAGS = ONLINE_MS_HOST + "api/blog/cate_list";
        public static final String BLOG_CATE_ALL_TAGS = ONLINE_MS_HOST + "api/blog/all_tags";
        public static final String BLOG_SUBSCRIBE_TAGS_EDIT = ONLINE_MS_HOST + "api/blog/edit_my_subscibe_tags";
        public static final String BLOG_EXPERT_LIST = ONLINE_MS_HOST + "api/blog/expert_list";

        /*公共模块 */
        public static final String USER_PROFILE = ONLINE_MS_HOST + "api/v2/user/profile";
        public static final String UC = ONLINE_MS_HOST + "uc";
        public static final String USER_IDENTITY = ONLINE_MS_HOST + "api/v2/bbs/user_identity";
        public static final String FAVORITE_LIST = ONLINE_MS_HOST + "api/favorite/get_list_favorite";
        public static final String ADD_FAVORITE = ONLINE_MS_HOST + "api/favorite/add_favorite";
        public static final String DELETE_FAVORITE = ONLINE_MS_HOST + "api/favorite/do_delete_favorite";
        public static final String USER_RELATION = ONLINE_MS_HOST + "api/user/relation";
        public static final String USER_DO_FOLLOW = ONLINE_MS_HOST + "api/user/doFollow";
        public static final String USER_UN_FOLLOW = ONLINE_MS_HOST + "api/user/unFollow";
        public static final String USER_NICKNAMES = ONLINE_MS_HOST + "api/user/nicknames";
        public static final String UNREAD_COUNT = ONLINE_MS_HOST + "api/notify/get_unread_count";
        public static final String UPLOAD_PICTURE = ONLINE_MS_HOST + "api/ask/picture";

        /*论坛模块 */
        public static final String BBS_CAN_CREATE_TOPIC = ONLINE_MS_HOST + "api/v2/bbs/can_create_topic";
        public static final String BBS_FAVORITE_FORUM = ONLINE_MS_HOST + "api/v2/bbs/my_favorite_forum";
        public static final String BBS_ALL_FORUMS = ONLINE_MS_HOST + "api/v2/bbs/forums_with_level";
        public static final String BBS_FORUM_FAVORITE = ONLINE_MS_HOST + "api/v2/bbs/favorite";
        public static final String BBS_FORUM_UNFAVORITE = ONLINE_MS_HOST + "api/v2/bbs/unfavorite";
        public static final String BBS_TOPIC_LIST = ONLINE_MS_HOST + "api/v2/bbs/get_topics_by_forum";
        public static final String BBS_TOPIC_HOT_LIST = ONLINE_MS_HOST + "api/v2/bbs/hot_topics";
        public static final String BBS_FORUM_MEMBERS = ONLINE_MS_HOST + "api/v2/bbs/forum_members";
        public static final String BBS_SCORE = ONLINE_MS_HOST + "bbs/score";
        public static final String BBS_CREATE_TOPIC = ONLINE_MS_HOST + "api/v3/bbs/create_topic";
        public static final String BBS_TOPIC_DETAIL = ONLINE_MS_HOST + "api/v2/bbs/get_topic";
        public static final String BBS_TOPIC_POSTS = ONLINE_MS_HOST + "api/v2/bbs/get_posts";
        public static final String BBS_TOPIC_LZ_POSTS = ONLINE_MS_HOST + "api/v2/bbs/get_lz_posts";
        public static final String BBS_CREATE_POST = ONLINE_MS_HOST + "api/v2/bbs/create_post";
        public static final String BBS_TOPIC_UP = ONLINE_MS_HOST + "api/v2/bbs/digg";
        public static final String BBS_TOPIC_DOWN = ONLINE_MS_HOST + "api/v2/bbs/bury";

        /*问答模块 */
        public static final String ASK_QUESTION_LIST = ONLINE_MS_HOST + "api/ask/all_questions";
        public static final String ASK_MY_TAGS = ONLINE_MS_HOST + "api/askmytag/get";
        public static final String ASK_HOT_TAGS = ONLINE_MS_HOST + "api/ask/hot_tags";
        public static final String ASK_SEARCH_TAGS = ONLINE_MS_HOST + "api/ask/search_tags";
        public static final String ASK_SET_TAGS = ONLINE_MS_HOST + "api/askmytag/set";
        public static final String ASK_TAG_QUESTION_LIST = ONLINE_MS_HOST + "api/ask/tags_questions";
        public static final String ASK_CREATE_QUESTION = ONLINE_MS_HOST + "api/v2/ask/create_question";
        public static final String ASK_QUESTION_DETAIL = ONLINE_MS_HOST + "api/ask/question_detail";
        public static final String ASK_QUESTION_ANSWERS = ONLINE_MS_HOST + "api/ask/all_answers_for_one_question";





    }


}
